/* eslint-disable no-undef */
'use strict'

const path = require('path')

var targetUrl = 'https://www.gic580.top'

function resolve(dir) {
  return path.join(__dirname, dir)
}
module.exports = {
  outputDir: './dist',
  assetsDir: '',
  indexPath: './index.html',
  lintOnSave: true,
  configureWebpack: {
    resolve: {
      alias: {
        styles: resolve('src/assets/styles'),
        '@': resolve('src'),
        vue$: 'vue/dist/vue.js'

      }
<<<<<<< HEAD
=======
    },
    devServer: {
      // proxy: {
      //   '/api': {
      //     target: 'https://www.gic580.top', //对应自己的接口
      //     changeOrigin: true,
      //     ws: true,
      //     pathRewrite: {
      //       '^/api': ''
      //     }
      //   },
      //   '/apiaa': {
      //     target: 'https://unidemo.dcloud.net.cn', //对应自己的接口
      //     changeOrigin: true,
      //     ws: true,
      //     pathRewrite: {
      //       '^/apiaa': ''
      //     }
      //   },

      // }
>>>>>>> panda
    }
  },
  devServer: {
    host: '0.0.0.0'
  }
}